package com.nbsaas.boot.order.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
* 搜索bean
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderSearch   extends PageRequest implements Serializable {

/**
* 序列化参数
*/
private static final long serialVersionUID = 1L;



            /**
            * 订单类型
            **/
            @Search(name = "orderType",operator = Operator.eq)
            private Integer orderType;

            /**
            * 订单数量
            **/
            @Search(name = "num",operator = Operator.eq)
            private Integer num;

            /**
            * 订单状态
            **/
            @Search(name = "orderStatus",operator = Operator.eq)
            private Integer orderStatus;

            /**
            * 收货地址ID
            **/
            @Search(name = "deliveryAddressId",operator = Operator.eq)
            private Long deliveryAddressId;

            /**
            * 商家ID
            **/
            @Search(name = "merchantId",operator = Operator.eq)
            private Long merchantId;

            /**
            * 收货地址
            **/
            @Search(name = "deliveryAddress",operator = Operator.like)
            private String deliveryAddress;

            /**
            * 下单人ID
            **/
            @Search(name = "customerId",operator = Operator.eq)
            private Long customerId;

            /**
            * 主键id
            **/
            @Search(name = "id",operator = Operator.eq)
            private Long id;

            /**
            * 支付状态
            **/
            @Search(name = "paymentStatus",operator = Operator.eq)
            private Integer paymentStatus;

            /**
            * 订单来源
            **/
            @Search(name = "orderSource",operator = Operator.eq)
            private Integer orderSource;

            /**
            * 订单编号
            **/
            @Search(name = "orderNo",operator = Operator.like)
            private String orderNo;

            /**
            * 核销状态
            **/
            @Search(name = "verificationStatus",operator = Operator.eq)
            private Integer verificationStatus;

            /**
            * 推荐人ID
            **/
            @Search(name = "referrerId",operator = Operator.eq)
            private Long referrerId;

            /**
            * 门店ID
            **/
            @Search(name = "storeId",operator = Operator.eq)
            private Long storeId;

            /**
            * 核验码
            **/
            @Search(name = "verificationCode",operator = Operator.like)
            private String verificationCode;

            /**
            * 支付备注
            **/
            @Search(name = "paymentNotes",operator = Operator.like)
            private String paymentNotes;

            /**
            * 发货单号
            **/
            @Search(name = "shippingNo",operator = Operator.like)
            private String shippingNo;

            /**
            * 订单备注
            **/
            @Search(name = "orderNotes",operator = Operator.like)
            private String orderNotes;

            /**
            * 支付方式
            **/
            @Search(name = "paymentMethod",operator = Operator.eq)
            private Integer paymentMethod;

            /**
            * 支付账户
            **/
            @Search(name = "paymentAccount",operator = Operator.like)
            private String paymentAccount;



}